var t = new(require("../../../utils/http").HTTP);
Page({
  data: {
    show: !1
  },
  onLoad: function () {
    var a = this,
      n = wx.getStorageSync("user");
    t.request({
      url: "https://www.qlsyyun.com:3030/rank/list",
      data: {
        arr: 4,
        name: n[0]
      }
    }).then((function (t) {
      0 == t.data.length ? wx.showToast({
        title: "仅展示招商员指标",
        icon: "none",
        duration: 500,
        success: function () {
          setTimeout((function () {
            wx.navigateBack({
              delta: 1
            })
          }), 500)
        }
      }) : a.setData({
        show: !0,
        infor: t.data[0],
        month: t.data[0].yf
      })
    }))
  }
});